﻿package chapter_04;

public class Hui_4_1_Exa_01_Test {
	public static void main(String[] args) {
		Hui_4_1_Exa_01_Pet pet = new Hui_4_1_Exa_01_Pet("贝贝");	
		pet.print();	
		
		Hui_4_1_Exa_01_Dog dog = new Hui_4_1_Exa_01_Dog("楠楠","雪纳瑞");
		dog.print();
		
		Hui_4_1_Exa_01_Penguin pgn = new Hui_4_1_Exa_01_Penguin("楠楠","雌性");
		pgn.print();
		
	}
}